<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>见缝插针</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            background: #f0f0f0;
            font-family: Arial, sans-serif;
            overflow: hidden;
        }

        canvas {
            background: white;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }

        #gameInfo {
            position: fixed;
            top: 20px;
            left: 20px;
            background: rgba(255,255,255,0.9);
            padding: 10px 20px;
            border-radius: 5px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            z-index: 100;
        }

        #startButton {
            position: fixed;
            bottom: 20px;
            background: #2ecc71;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
            z-index: 100;
        }

        #startButton:hover {
            background: #27ae60;
        }

        @media (max-width: 768px) {
            #gameInfo {
                top: 10px;
                left: 10px;
                font-size: 14px;
            }

            #startButton {
                bottom: 10px;
                padding: 15px 30px;
                font-size: 18px;
            }
        }
    </style>
</head>
<body>
    <div id="gameInfo">
        分数: <span id="score">0</span> | 等级: <span id="level">1</span>
    </div>
    <canvas id="gameCanvas"></canvas>
    <button id="startButton">开始游戏</button>
    <script src="script.js"></script>
</body>
</html> 